package com.css.fxfzysx.modules.vaolEngineering.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxDevicesEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.newEntity.CztSmxDevicesValueEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.DevicesParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface CeVulnerabilityService {

    RestResponse caCeVulnerability(String versionId,String tableId);

    RestResponse importCeVulnerability(MultipartFile file);

    Map<String, Object> uploadDevices(String fileIds, String versionId,String userId)throws Exception;

    HashMap<Integer, ArrayList<String>> getDataValidation(String versionId);

    SmxDevicesEntity getByTableId(String id);

    List<CztSmxDevicesValueEntity> getValueByDevicesId(String id);

    void updateDevicesById(DevicesParam devicesParam);

    RestResponse count(DevicesParam param);
}
